package com.project.isaacwiki.service;

import com.project.isaacwiki.util.Result;
import org.springframework.web.multipart.MultipartFile;

public interface ServiceUserOpera {
    Result updateImage(MultipartFile file) throws Exception;

    Result updateUserInfo(Integer id, String name, String imgUrl) throws Exception;

    Result updateUserPasswordById(Integer id, String password, String newPassword) throws Exception;

    Result getUser(Integer id);
}
